<template>
  <div class="search-bar">
    <router-link to="/search">
      <van-search
      placeholder="搜索商品, 共119864款好物"
      input-align="center"
      />
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'SearchBar',
}
</script>

<style lang="less" scoped>
  /deep/ .van-search__content{
    background-color: #ededed;
  }
  /deep/.van-field__control{
    background-color: #ededed;
    font-size: 14px;
    color: #666;
  }
</style>
